package com.zhangmeng.tools.editors.ace;

public enum AceMode {

    CSS("mode-css.js", "ace/mode/css"),
    HTML("mode-html.js", "ace/mode/html"),
    JAVA("mode-java.js", "ace/mode/java"),
    JAVASCRIPT("mode-javascript.js", "ace/mode/javascript"),
    JSON("mode-json.js", "ace/mode/json"),
    NGINX("mode-nginx.js", "ace/mode/nginx"),
    PROPERTIES("mode-properties.js", "ace/mode/properties"),
    SQL("mode-sql.js", "ace/mode/sql"),
    TEXT("mode-text.js", "ace/mode/text"),
    XML("mode-xml.js", "ace/mode/xml"),
    YAML("mode-yaml.js", "ace/mode/yaml"),
    GO("mode-golang.js", "ace/mode/golang"),
    MARKDOWN("mode-markdown.js", "ace/mode/markdown");

    AceMode(String name, String value) {
        this.name = name;
        this.value = value;
    }

    private final String name;

    private final String value;

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }
}
